package com.qtt.app.mapper;

import com.qtt.app.entity.ExactCourse;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ExactCourseMapper {
    int deleteByPrimaryKey(String id);

    int insert(ExactCourse record);

    int insertSelective(ExactCourse record);

    ExactCourse selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(ExactCourse record);

    int updateByPrimaryKey(ExactCourse record);

    List<ExactCourse> getAll();

    ExactCourse getExactCourseByCourseId(@Param("id") String id);
}